package com.springboot_gradrecruit.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author zr
 * @TableName bulletin
 */
@TableName(value ="bulletin")
@Data
public class Bulletin implements Serializable {
    /**
     * 公告主键ID
     */
    //    雪花算法-让ID不是1开始
    @TableId(type = IdType.ASSIGN_ID)
    private Long bulletinId;

    /**
     * 公告标题
     */
    private String bulletinTitle;

    /**
     * 公告内容
     */
    private String bulletinText;

    /**
     * 公告作者
     */
    private String bulletinAuthor;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    //    逻辑删除
    @TableLogic
    private Integer isDeleted;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}